import React from 'react';

export default function Layout(props: any) {
    return React.Children.map(props.children, child => {
        return React.cloneElement(child, { foo: 'bar' });
    });
}